.user-course-search-container {
  position: relative;
  margin-bottom: 64rpx;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 120rpx 0 60rpx;
  border-radius: 50rpx;
  background-color: #fff;
  margin-top: 20rpx;
  box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.08);
}

.user-course-search-input {
  width: 100%;
  height: 100rpx;
  margin-left: 30rpx;
  font-size: 32rpx;
  color: #333;
}

/* 主内容区域 */
.user-course-main-content {
  margin-bottom: 240rpx; /* 为底部固定按钮留出足够空间 */
  padding: 0 16rpx;
}

/* 课程卡片样式 */
.user-course-course-card {
  border-radius: 24rpx;
  overflow: hidden;
  box-shadow: 0 6rpx 24rpx rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 40rpx;
  color: #ffffff;
  padding: 64rpx;
  transition: all 0.3s ease;
}

.user-course-course-card:active {
  transform: scale(1.02);
}

/* 卡片内容布局 */
.user-course-card-content {
  display: flex;
  align-items: center;
  gap: 40rpx;
}

.user-course-card-icon-container {
  background-color: rgba(255, 255, 255, 0.2);
  width: 100rpx;
  height: 100rpx;
  border-radius: 20rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-course-card-text-container {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

/* 卡片文本样式 */
.user-course-card-title {
  font-size: 52rpx;
  font-weight: bold;
  margin-bottom: 16rpx;
}

.user-course-card-subtitle {
  font-size: 36rpx;
  opacity: 0.9;
  color: #fe5b20;
}

/* 卡片网格布局 */
.user-course-card-grid {
  display: flex;
  gap: 32rpx;
  margin-top: 40rpx;
  justify-content: space-between;
}

.user-course-card-grid > * {
  flex: 1;
  height: 280rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24rpx;
}

.user-course-grid-card-icon {
  color: #fff;
}

.user-course-grid-card-title {
  font-size: 40rpx;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 底部固定按钮 */
.user-course-fixed-bottom {
  position: fixed;
  bottom: 64rpx;
  left: 32rpx;
  right: 32rpx;
  z-index: 10;
}

.user-course-complete-mock-btn {
  width: 100%;
  height: 160rpx;
  background-color: #8b5cf6;
  border-radius: 60rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8rpx 40rpx rgba(139, 92, 246, 0.4);
  border: none;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.user-course-complete-mock-btn:active {
  background-color: #7c3aed;
  transform: scale(0.98);
}

.user-course-btn-icon {
  font-size: 48rpx;
  margin-right: 20rpx;
}

.user-course-btn-text {
  font-size: 40rpx;
  font-weight: 600;
  color: #fff;
}

/* 响应式布局 */
@media screen and (min-width: 768px) {
  
  .user-course-card-content {
    gap: 60rpx;
  }
  
  .user-course-fixed-bottom {
    left: 64rpx;
    right: 64rpx;
  }
  
  .user-course-card-grid {
    gap: 40rpx;
  }
  
  .user-course-card-title {
    font-size: 56rpx;
  }
  
  .user-course-complete-mock-btn {
    max-width: 600rpx;
    margin: 0 auto;
  }
}
